libwayshot
libwayshot
is a convenient wrapper over the wlroots screenshot protocol that provides a simple API to take screenshots with.
Example usage
use WayshotConnection;
let wayshot_connection = new.unwrap;
let image_buffer = wayshot_connection.screenshot_all.unwrap;